
<?php
	include "../admin/p_usuario/valida_credenciais.php";
	$valCr = new valida_credenciais();
	
	/*$nivel = array(1);
	if(!($valCr->validar($nivel))){
		header('Location: index.php?p=denied');
	}*/

?>

<script language="javascript" type="text/javascript" src="../admin/p_galeria/valida_form.js"></script>
<div class="form">

	<div class="row">
		<div class="col-md-12">
			<div class="page-header">
				<h2>Adicionar &Aacutelbum</h2>
			</div>
		</div>
	</div>
	<div class="row">
	<div class="col-md-3">
			<div class="actions">
				<div class="panel panel-default">
					<div class="panel-heading"><h5>Op&ccedil&otildees</h5></div>
						<div class="panel-body">
							<ul class="nav nav-pills nav-stacked">
								<li><a href="index.php?pg=albuns">Listar &Aacutelbuns</a></li>
								
							</ul>
						</div>
					</div>
				</div>			
		</div><!-- end col md 3 -->
		<div class="col-md-9">
		<!-- HEAD DE FORMULÃ�RIO -->
		<div class="panel panel-default">
			<div class="panel-heading"><h5>Formul&aacuterio de Cadastro de &Aacutelbuns</h5></div>
			<div class="panel-body">
			<!-- FORMULÃ�RIO -->
			<form  method="post" name="form1" action="../admin/p_galeria/salvar.php" enctype="multipart/form-data">
				<div class="row">
					<div class="col-md-12 form-group"><h6>(<span class="text-danger">*</span>) Campos de preenchimento obrigat&oacuterio.</h6></div>
				</div>
				<div class="row">
					<div class="form-group col-md-12">
						<label for="album">&Aacutelbum (<span class="text-danger">*</span>)</label>
    					<input type="text" class="form-control" name="album" id="album" placeholder="Informe o nome do album...">
					</div>
				</div>
				<div class="row">
					<div class="form-group col-md-12">
						<label for="desc_album">Descri&ccedil&atildeo (<span class="text-danger">*</span>)</label>
    					<textarea rows="5" cols="" class="form-control" id="desc_album" name="desc_album" placeholder="Informe um breve Descri&ccedil&atilde;o para o album..."></textarea>
					</div>
				</div>
				
				<div class="row">
					<div class="form-group col-md-2">
						<input type="submit" value="Avan&ccedil;ar" class="btn btn-default" name="enviar" onclick="return valida()" >
					</div>
				</div>
			</form>
			</div>
		</div>

		</div><!-- end col md 12 -->
	</div><!-- end row -->
</div>